-
Notifications
You must be signed in to change notification settings - Fork 2.4k
token-cli: create transfer-fee-basis-points and transfer-fee-maximum-fee flags #7053
token-cli: create transfer-fee-basis-points and transfer-fee-maximum-fee flags #7053
Conversation
Signed-off-by: Hrushi20 <[email protected]>
Signed-off-by: Hrushi20 <[email protected]> remove unwanted space Signed-off-by: Hrushi20 <[email protected]> added missing comma Signed-off-by: Hrushi20 <[email protected]>
9058afe to
b693738
Compare
|
Do I add a test for |
joncinque
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the contribution, it looks good overall! Mostly some stylistic comments.
Also, can you run ./cargo-nightly fmt --all from the top of the repo? There's going to be some formatting issues when I run CI
Signed-off-by: Hrushi20 <[email protected]>
joncinque
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this is failing some of the clippy lints -- can you run ./cargo-nightly clippy -Zunstable-options --all-targets --features test-sbf -- --deny=warnings --deny=clippy::arithmetic_side_effects from the top of the repo and fix whatever's reported?
We're almost there!
Signed-off-by: Hrushi20 <[email protected]>
joncinque
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.

Split
transfer-feeinto two separate flags i.etransfer-fee-basis-pointsandtransfer-fee-maximum-fee. Add a message to deprecatetransfer-fee.Fixes #7020